package models_main

import (
	"fmt"
	"longmen/server/pkg/db/mysql/models"
	"time"
)

type AnchorFans struct {
	Id         int       `json:"id" gorm:"primaryKey"`
	Anchorid   int       `json:"anchorid" gorm:"column:anchorid"`
	Fansid     int       `json:"fansid" gorm:"column:fansid"`
	CreateTime time.Time `json:"create_time"`
	LiveId     int64     `json:"live_id"`
}

func (AnchorFans) TableName() string {
	return fmt.Sprintf("%sanchor_fans", models.Prefix)
}
